package cz.spock.parser.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Unindexed;

/**
 * this class represents rewrite rules 
 * 
 * @author miso
 *
 */
@Entity
public class RewriteRule implements Rule {
    
    @Id
    private Long id;
    @Unindexed
    private String rewrite; // string to which rewrite associated tag
    
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getRewrite() {
        return rewrite;
    }
    public void setRewrite(String rewrite) {
        this.rewrite = rewrite;
    }

}
